package main.java.cn.wolfcode.mapper;

import cn.wolfcode.domain.Activity;
import cn.wolfcode.qo.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ActivityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Activity record);

    Activity selectByPrimaryKey(Long id);

    List<Activity> selectAll();

    int updateByPrimaryKey(Activity record);

    List<Activity> selectForList(QueryObject qo);
    List<Long> selectRelation(@Param("eId") Long eId, @Param("cId") Long cId);


}